package com.ali.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

// 将配置文件中的ali.oss.*的值，映射到这个类中
@ConfigurationProperties(prefix = "ali.oss")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AliProperties {
    private String endpoint;
    private String bucketName;
    private String region;
    private List<String> hobby;
}
